<template>
  <div class="goods-list clearfix">
    <GoodsItem :goodsItem="item" v-for="(item, index) in goods" :key="index" />
  </div>
</template>

<script>
import GoodsItem from "./GoodsItem";
export default {
  name: "goods-list",
  components: {
    GoodsItem
  },
  props: {
    goods: {
      type: Array,
      default() {
        return [];
      }
    }
  }
};
</script>

<style scoped>
.goods-list {
  background-color: #efefef;
  padding-bottom: 2%;
}
</style>